<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2024/12/2
  Time: 18:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>填写个人信息</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css">
    <style>
        body {
            background-size: cover;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
            font-family: 'Arial', sans-serif;
        }
        .info-container {
            background: rgba(255, 255, 255, 0.8);
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            width: 400px; /* 调整为适合内容的宽度 */
            text-align: center;
        }
        .info-container h2 {
            color: #333;
            margin-bottom: 20px;
        }
        .info-container input[type="text"],
        .info-container textarea {
            width: calc(100% - 22px);
            padding: 10px;
            margin: 10px 0;
            border: 1px solid #ccc;
            border-radius: 5px;
        }
        .info-container input[type="submit"] {
            width: 100%;
            padding: 10px;
            background-color: #ff6347;
            border: none;
            border-radius: 5px;
            color: white;
            font-size: 16px;
            cursor: pointer;
        }
        .info-container input[type="submit"]:hover {
            background-color: #ff4500;
        }
        .info-container p {
            margin-top: 10px;
            font-size: 14px;
            color: #666;
        }
        .error {
            color: red;
            font-size: 12px;
        }
    </style>
</head>
<body>
<div class="info-container">
    <h2>填写个人信息</h2>
    <form action="${pageContext.request.contextPath}/updateuserinfo" method="post">
        <input type="text" id="name" name="name" placeholder="姓名" required>
        <input type="text" id="address" name="address" placeholder="地址" required>
        <input type="text" id="phone" name="phone" placeholder="电话" required>
        <input type="submit" value="提交">
    </form>
    <p>返回<a href="login.jsp">登录页面</a></p>
</div>
</body>
</html>
